package com.hsb.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class User implements Serializable {
    private Integer userId;
    private String userName;
    private String userPwd;
    private String userEmail;
    private String createTime;
    private String updateTime;

    public User(String userName, String userPwd, String userEmail) {
        this.userName = userName;
        this.userPwd = userPwd;
        this.userEmail = userEmail;
    }

    public User(Integer userId, String userName, String userPwd, String userEmail) {
        this.userId = userId;
        this.userName = userName;
        this.userPwd = userPwd;
        this.userEmail = userEmail;
    }
}
